import { defineStore } from 'pinia';
interface FieldNames {
  ctlCode: string;
  ctlValue: string;
}
//该store用于控件信息配置
const useControlValuesStore = defineStore('controlValues', {
  state: () => {
    return {
      data: []
    };
  },
  //计算属性
  getters: {},
  actions: {
    ctlValuesSetting(data: any) {
      this.data = data;
    }
  }
});

export default useControlValuesStore;
